#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() 
{
    int a,j,i,ret;
    while (scanf("%d", &a) != EOF) 
    { 
        for (int j = 1; j <= a; j++)
        {
            i =a-j;
            while (i)
            {
                printf("  ");
                i--;
            }
            ret = j;
            while (ret)
            {
                printf("* ");
                ret--;
            }
            printf("\n");

        }
    }
    return 0;
}